package com.geek.factory.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author chenmin
 * @desc TODO
 * @date 2025/6/20
 *
 * 自定义异常
 * 1.extends RuntimeException  运行期异常，抛出时无须处理
 * 2.extends Exception  编译期异常，抛出时会强制必须解决
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FactoryException extends RuntimeException{

    private String message;

}
